package cn.com.nou.common.utils;


/**
 * 
 * @ClassName: Constant 
 * @Description: 系统常量类 
 * @author yuanyang
 * @date 2018年12月17日
 */
public class Constant {
	
	public static final String RET_CODE = "RET_CODE";
	public static final String RET_MSG = "RET_MSG";
	public static final String RET_OBJ = "RET_OBJ";
	public static final String RET_CODE_SUCCESS = "SUCCESS";
	public static final String RET_CODE_ERROR = "ERROR";
	
	public static enum DicTypeEnum {
		educationLevel,specEducationLevel,learningForm,schoolSystem,courseCategory,resourceClassification
	}
	
	public static final String DIC_LEARNING_FORM = "学习形式";
	public static final String DIC_LEVEL = "层次";
	public static final String DIC_SCHOOL_SYSTEM = "学制";
	public static final String DIC_COURSE_CATEGORY = "课程类别";
	public static final String DIC_RESOURCE_CLASSIFICATION = "资源分类";
	
	public static final String TYPE_1 = "1";
	public static final String TYPE_2 = "2";
	public static final String TYPE_3 = "3";
	
	
	public static final String DISABLE_STATUS = "0";//停用
	public static final String ENABLE_STATUS = "1";//启用
	public static final String DELETE_STATUS = "2";//删除


	public static final String USER_TYPE_COLLAGE_ADMIN = "1";//院校管理员
	public static final String USER_TYPE_COLLAGE_CENTER_ADMIN = "2";//学习中心管理员
	public static final String USER_TYPE_BACK_MANAGE_USER = "3";//后台管理用户
	public static final String USER_TYPE_TEACHER = "4";//老师
	public static final String USER_TYPE_STUDENT = "5";//学生




	public static final String DEFAULT_STATUS = "1";//默认的
	public static final String UNDEFAULT_STATUS = "0";//非默认的
	
	public static final String CONFIG_TYPE_STUDENT_NUMBER_RULES = "1";//学号规则
	
	public static final String USER_STATUS_STOP = "0";//停用
	public static final String USER_STATUS_START = "1";//正常

	public static final int DELETED = 0;//已删除
	public static final int UNDELETED = 1;//未删除


	public static final String EXAMINE_WAIT_STATUS = "3";//待审核
	public static final String EXAMINE_PASS_STATUS = "1";//审核通过
	public static final String EXAMINE_NOT_PASS_STATUS = "2";//审核不通过
	
	public static final String SUBMIT_OPER_TYPE = "1";//提交
	public static final String EXAMINE_OPER_TYPE = "2";//审核
	
	public static final String APPLY_STATE_1 = "1";//运行中
	public static final String APPLY_STATE_2 = "2";//结束
	
	public static final String TARGET_TYPE_1 = "1";//角色
	public static final String TARGET_TYPE_2 = "2";//用户
	
	public static final String UNPUBLISH = "0";//未发布
	public static final String PUBLISHED = "1";//已发布

	public static int DEFAUT_EXAM = 0;//默认个性化考核，用于在教学计划和课程关系
	public static int SPECAIL_EXAM = 1;//默认个性化考核，用于在教学计划和课程关系

    public static String REQUIRED_COURSE = "01";//必修课

	public static String FILE_PATH = "http://img.neumooc.com/";//上传下载文件是的头

	public final static Integer BULLETIN_READ_STATUS_UNREAD = 0;//未读
	public final static Integer BULLETIN_READ_STATUS_READ = 1;//已读
	
	
	public static enum StudentNumberRules {//学号自动生成规则项
		enrollmentYear,specCode,levelCode,collageCenter,studyMethod,sequenceCode
	}
	public static enum GraduationNumberRules {//毕业证号自动生成规则项
		colleageCode,eduType,graduateYear,level,sequenceCode
	}
//	public static enum DegreeNumberRules {//毕业证号自动生成规则项
//		colleageCode,degreeCode,degreeYear,sequenceCode
//	}
	public static final String INCREMENTALGENERATION = "1";//增量生成
	public static final String FULLGENERATION = "2";//全量生成
	
	
	public static final String CONFIG_TYPE_1 = "1";//学号
	public static final String CONFIG_TYPE_2 = "2";//毕业证号
	public static final String CONFIG_TYPE_3 = "3";//学位证号

	public static final String adult = "17D52FC0D8B9414999BB37EE4302CE17";//成人
	
	public static final String TEACHER_TYPE_1 = "1";//责任教师
	public static final String TEACHER_TYPE_2 = "2";//资源建设教师
	
	
	public static final String BUSI_TYPE_COURSE_1 = "1";//课程资源
	public static final String BUSI_TYPE_PROJECT_2 = "2";//项目资源
	public static final String BUSI_TYPE_GENERATE_DESIGN_3 = "3";//毕设资源
	public static final String BUSI_TYPE_TUTORIALS_4 = "4";//辅导资源
	
	
	public static final String UPLOAD_FROM_RICH_BOX = "1";//1富文本方式上传
	public static final String UPLOAD_FROM_OTHER = "2";//2其他方式上传


	public static final String EXAME_RESULT_TARGET = "5";//2其他方式上传
	
	
	public static final String PIC_TYPE = "1";//图片
	public static final String FILE_TYPE = "2";//文件
	public static final String VIDEO_TYPE = "3";//视频
	
	
	public static final String EXAMINE_TYPE_11 = "11";//毕设题目管理
	public static final String EXAMINE_TYPE_14 = "14";//教学计划
}
